package com.client.ryt.task.http.response;


import com.client.ryt.basic.BaseResponse;
import com.client.ryt.entity.biz.ShopMember;
import com.client.ryt.entity.exception.JsonException;
import com.client.ryt.entity.exception.RemoteDataException;

import org.json.JSONException;
import org.json.JSONObject;


/**
 * Created by Administrator on 2014/7/12.
 */
public class CheckCardResponse extends BaseResponse {

    public CheckCardResponse(){super(null);}
    public CheckCardResponse(JSONObject json) {
        super(json);
        try {
            if(this.getIsSuccess()){
                JSONObject msg = json.getJSONObject("msg");
            }else{
                this.setBaseException(new RemoteDataException(json));
            }
        } catch (JSONException e) {
            this.setBaseException(new JsonException(e.getMessage()));
        }
    }

}
